﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Temp.aspx.cs" Inherits="Regnemaskinen.Temp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>

    <script type="text/javascript" language="javascript">
        $(document).ready(function () {
            var cells = new Array();
            $("table tr td").each(function (index) {
                if (index >= 0) {
                    cells.push($(this).html());
                }
            });
            alert(cells[0]);

            var s = "[";
            var n = 0;
            jQuery.each(cells, function (i, val) {
                //$("#" + this).text("Mine is " + this + ".");
                //return (this != "three"); // will stop running after "three"

                if (n == 0) {
                    s += '{"Country":"' + val + '",';
                }
                if (n == 1) {
                    s += '"Capital":"' + val + '",';
                }
                if (n == 2) {
                    s += '"Latitude":"' + val + '",';
                }
                if (n == 3) {
                    s += '"Longitude":"' + val + '",';
                }
                n++;
                if (n == 4) {
                    // var tmp = i - 2;// cells[i - 2];
                    var lat_dec = dms2dd(cells[i - 1]);
                    //tmp = i - 1; //cells[i - 1];
                    var lon_dec = dms2dd(cells[i]);
                    s += '"Latitudedecimal":"' + lat_dec + '",';
                    s += '"Longitudedecimal":"' + lon_dec + '"}';
                    if (i < cells.length - 1) {
                        s += ',';
                    }
                    n = 0;
                }

            });

            s += "]";

            //$("body").append(s)





            /*
            
            data: [
            ['apple', 1],
            ['apricot', 2],
            ['pear', 3],
            ['prume', 4],
            ['Doyenné du Comice', 5]
            ]
            
            */



            var sa = "[";
            var j = 0;
            var c = 1;
            jQuery.each(cells, function (n, value) {

                if (j == 1) {
                    sa += "['" + value + "'," + c + "]";
                    c++;
                }

                j++;
                if (j == 4) {
                    if (n < cells.length - 1) {
                        sa += ',';
                    }
                    j = 0;
                }

            });
            sa += "]";




            var ar = "[";
            var j = 0;
            var c = 1;
            jQuery.each(cells, function (n, value) {

                if (j == 1) {
                    var t = value.replace("'", "\\'");
                    ar += "'" + t + "'";
                    c++;
                }

                j++;
                if (j == 4) {
                    if (n < cells.length - 1) {
                        ar += ',';
                    }
                    j = 0;
                }

            });
            ar += "]";




            $("body").append(ar);










        });
        /*
        "Latitude": "36°42'N",
        "Longitude": "03°08'E"
        */
        function dms2dd(string) {
            var a = string.split("°"); //a[0]=36  a[1]=42'N
            var b = a[1].split("'"); //b[0]=42  b[1]=N

            var degrees = a[0];
            var minutes = b[0];
            var seconds = 0;
            var direction = b[1];

            var res = 0;

            res = degrees * 1 + minutes / 60 + seconds / 3600;
            res = Math.round(res * 100000000) / 100000000;

            if (direction == 'S' || direction == 'W')
                res = '-' + res;
                return res;
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
<table align="center" cellpadding="5" border="5" bgcolor="#FFFFFF">
<tbody>
<tr><td>Afghanistan</td>
<td>Kabul</td>
<td>34°28'N</td>
<td>69°11'E</td></tr>
 
<tr><td>Albania</td>
<td>Tirane</td>
<td>41°18'N</td>
<td>19°49'E</td></tr>
 
<tr><td>Algeria</td>
<td>Algiers</td>
<td>36°42'N</td>
<td>03°08'E</td></tr>
 
<tr><td>American  Samoa</td>
<td>Pago Pago</td>
<td>14°16'S</td>
<td>170°43'W</td></tr>
 
<tr><td>Andorra</td>
<td>Andorra la Vella</td>
<td>42°31'N</td>
<td>01°32'E</td></tr>
 
<tr><td>Angola</td>
<td>Luanda</td>
<td>08°50'S</td>
<td>13°15'E</td></tr>
 
<tr><td>Antigua and Barbuda</td>
<td>W. Indies</td>
<td>17°20'N</td>
<td>61°48'W</td></tr>
 
<tr><td>Argentina</td>
<td>Buenos Aires</td>
<td>36°30'S</td>
<td>60°00'W</td></tr>
 
<tr><td>Armenia</td>
<td>Yerevan</td>
<td>40°10'N</td>
<td>44°31'E</td></tr>
 
<tr><td>Aruba</td>
<td>Oranjestad</td>
<td>12°32'N</td>
<td>70°02'W</td></tr>
 
<tr><td>Australia</td>
<td>Canberra</td>
<td>35°15'S</td>
<td>149°08'E</td></tr>
 
<tr><td>Austria</td>
<td>Vienna</td>
<td>48°12'N</td>
<td>16°22'E</td></tr>
 
<tr><td>Azerbaijan</td>
<td>Baku</td>
<td>40°29'N</td>
<td>49°56'E</td></tr>
 
<tr><td>Bahamas</td>
<td>Nassau</td>
<td>25°05'N</td>
<td>77°20'W</td></tr>
 
<tr><td>Bahrain</td>
<td>Manama</td>
<td>26°10'N</td>
<td>50°30'E</td></tr>
 
<tr><td>Bangladesh</td>
<td>Dhaka</td>
<td>23°43'N</td>
<td>90°26'E</td></tr>
 
<tr><td>Barbados</td>
<td>Bridgetown</td>
<td>13°05'N</td>
<td>59°30'W</td></tr>
 
<tr><td>Belarus</td>
<td>Minsk</td>
<td>53°52'N</td>
<td>27°30'E</td></tr>
 
<tr><td>Belgium</td>
<td>Brussels</td>
<td>50°51'N</td>
<td>04°21'E</td></tr>
 
<tr><td>Belize</td>
<td>Belmopan</td>
<td>17°18'N</td>
<td>88°30'W</td></tr>
 
<tr><td>Benin</td>
<td>Porto-Novo (constitutional cotonou) (seat of gvnt)</td>
<td>06°23'N</td>
<td>02°42'E</td></tr>
 
<tr><td>Bhutan</td>
<td>Thimphu</td>
<td>27°31'N</td>
<td>89°45'E</td></tr>
 
<tr><td>Bolivia</td>
<td>La Paz (adm.)/sucre (legislative)</td>
<td>16°20'S</td>
<td>68°10'W</td></tr>
 
<tr><td>Bosnia and Herzegovina</td>
<td>Sarajevo</td>
<td>43°52'N</td>
<td>18°26'E</td></tr>
 
<tr><td>Botswana</td>
<td>Gaborone</td>
<td>24°45'S</td>
<td>25°57'E</td></tr>
 
<tr><td>Brazil</td>
<td>Brasilia</td>
<td>15°47'S</td>
<td>47°55'W</td></tr>
 
<tr><td>British Virgin Islands</td>
<td>Road Town</td>
<td>18°27'N</td>
<td>64°37'W</td></tr>
 
<tr><td>Brunei Darussalam</td>
<td>Bandar Seri Begawan</td>
<td>04°52'N</td>
<td>115°00'E</td></tr>
 
<tr><td>Bulgaria</td>
<td>Sofia</td>
<td>42°45'N</td>
<td>23°20'E</td></tr>
 
<tr><td>Burkina Faso</td>
<td>Ouagadougou</td>
<td>12°15'N</td>
<td>01°30'W</td></tr>
 
<tr><td>Burundi</td>
<td>Bujumbura</td>
<td>03°16'S</td>
<td>29°18'E</td></tr>
 
<tr><td>Cambodia</td>
<td>Phnom Penh</td>
<td>11°33'N</td>
<td>104°55'E</td></tr>
 
<tr><td>Cameroon</td>
<td>Yaounde</td>
<td>03°50'N</td>
<td>11°35'E</td></tr>
 
<tr><td>Canada</td>
<td>Ottawa</td>
<td>45°27'N</td>
<td>75°42'W</td></tr>
 
<tr><td>Cape Verde</td>
<td>Praia</td>
<td>15°02'N</td>
<td>23°34'W</td></tr>
 
<tr><td>Cayman Islands</td>
<td>George Town</td>
<td>19°20'N</td>
<td>81°24'W</td></tr>
 
<tr><td>Central African Republic</td>
<td>Bangui</td>
<td>04°23'N</td>
<td>18°35'E</td></tr>
 
<tr><td>Chad</td>
<td>N'Djamena</td>
<td>12°10'N</td>
<td>14°59'E</td></tr>
 
<tr><td>Chile</td>
<td>Santiago</td>
<td>33°24'S</td>
<td>70°40'W</td></tr>
 
<tr><td>China</td>
<td>Beijing</td>
<td>39°55'N</td>
<td>116°20'E</td></tr>
 
<tr><td>Colombia</td>
<td>Bogota</td>
<td>04°34'N</td>
<td>74°00'W</td></tr>
 
<tr><td>Comros</td>
<td>Moroni</td>
<td>11°40'S</td>
<td>43°16'E</td></tr>
 
<tr><td>Congo</td>
<td>Brazzaville</td>
<td>04°09'S</td>
<td>15°12'E</td></tr>
 
<tr><td>Costa Rica</td>
<td>San Jose</td>
<td>09°55'N</td>
<td>84°02'W</td></tr>
 
<tr><td>Cote d'Ivoire</td>
<td>Yamoussoukro</td>
<td>06°49'N</td>
<td>05°17'W</td></tr>
 
<tr><td>Croatia</td>
<td>Zagreb</td>
<td>45°50'N</td>
<td>15°58'E</td></tr>
 
<tr><td>Cuba</td>
<td>Havana</td>
<td>23°08'N</td>
<td>82°22'W</td></tr>
 
<tr><td>Cyprus</td>
<td>Nicosia</td>
<td>35°10'N</td>
<td>33°25'E</td></tr>
 
<tr><td>Czech Republic</td>
<td>Prague</td>
<td>50°05'N</td>
<td>14°22'E</td></tr>
 
<tr><td>Democratic People's Republic of</td>
<td>P'yongyang</td>
<td>39°09'N</td>
<td>125°30'E</td></tr>
 
<tr><td>Democratic Republic of the Congo</td>
<td>Kinshasa</td>
<td>04°20'S</td>
<td>15°15'E</td></tr>
 
<tr><td>Denmark</td>
<td>Copenhagen</td>
<td>55°41'N</td>
<td>12°34'E</td></tr>
 
<tr><td>Djibouti</td>
<td>Djibouti</td>
<td>11°08'N</td>
<td>42°20'E</td></tr>
 
<tr><td>Dominica</td>
<td>Roseau</td>
<td>15°20'N</td>
<td>61°24'W</td></tr>
 
<tr><td>Dominica Republic</td>
<td>Santo Domingo</td>
<td>18°30'N</td>
<td>69°59'W</td></tr>
 
<tr><td>East Timor</td>
<td>Dili</td>
<td>08°29'S</td>
<td>125°34'E</td></tr>
 
<tr><td>Ecuador</td>
<td>Quito</td>
<td>00°15'S</td>
<td>78°35'W</td></tr>
 
<tr><td>Egypt</td>
<td>Cairo</td>
<td>30°01'N</td>
<td>31°14'E</td></tr>
 
<tr><td>El Salvador</td>
<td>San Salvador</td>
<td>13°40'N</td>
<td>89°10'W</td></tr>
 
<tr><td>Equatorial Guinea</td>
<td>Malabo</td>
<td>03°45'N</td>
<td>08°50'E</td></tr>
 
<tr><td>Eritrea</td>
<td>Asmara</td>
<td>15°19'N</td>
<td>38°55'E</td></tr>
 
<tr><td>Estonia</td>
<td>Tallinn</td>
<td>59°22'N</td>
<td>24°48'E</td></tr>
 
<tr><td>Ethiopia</td>
<td>Addis Ababa</td>
<td>09°02'N</td>
<td>38°42'E</td></tr>
 
<tr><td>Falkland Islands (Malvinas)</td>
<td>Stanley</td>
<td>51°40'S</td>
<td>59°51'W</td></tr>
 
<tr><td>Faroe Islands</td>
<td>Torshavn</td>
<td>62°05'N</td>
<td>06°56'W</td></tr>
 
<tr><td>Fiji</td>
<td>Suva</td>
<td>18°06'S</td>
<td>178°30'E</td></tr>
 
<tr><td>Finland</td>
<td>Helsinki</td>
<td>60°15'N</td>
<td>25°03'E</td></tr>
 
<tr><td>France</td>
<td>Paris</td>
<td>48°50'N</td>
<td>02°20'E</td></tr>
 
<tr><td>French Guiana</td>
<td>Cayenne</td>
<td>05°05'N</td>
<td>52°18'W</td></tr>
 
<tr><td>French Polynesia</td>
<td>Papeete</td>
<td>17°32'S</td>
<td>149°34'W</td></tr>
 
<tr><td>Gabon</td>
<td>Libreville</td>
<td>00°25'N</td>
<td>09°26'E</td></tr>
 
<tr><td>Gambia</td>
<td>Banjul</td>
<td>13°28'N</td>
<td>16°40'W</td></tr>
 
<tr><td>Georgia</td>
<td>T'bilisi</td>
<td>41°43'N</td>
<td>44°50'E</td></tr>
 
<tr><td>Germany</td>
<td>Berlin</td>
<td>52°30'N</td>
<td>13°25'E</td></tr>
 
<tr><td>Ghana</td>
<td>Accra</td>
<td>05°35'N</td>
<td>00°06'W</td></tr>
 
<tr><td>Greece</td>
<td>Athens</td>
<td>37°58'N</td>
<td>23°46'E</td></tr>
 
<tr><td>Greenland</td>
<td>Nuuk</td>
<td>64°10'N</td>
<td>51°35'W</td></tr>
 
<tr><td>Guadeloupe</td>
<td>Basse-Terre</td>
<td>16°00'N</td>
<td>61°44'W</td></tr>
 
<tr><td>Guatemala</td>
<td>Guatemala</td>
<td>14°40'N</td>
<td>90°22'W</td></tr>
 
<tr><td>Guernsey</td>
<td>St. Peter Port</td>
<td>49°26'N</td>
<td>02°33'W</td></tr>
 
<tr><td>Guinea</td>
<td>Conakry</td>
<td>09°29'N</td>
<td>13°49'W</td></tr>
 
<tr><td>Guinea-Bissau</td>
<td>Bissau</td>
<td>11°45'N</td>
<td>15°45'W</td></tr>
 
<tr><td>Guyana</td>
<td>Georgetown</td>
<td>06°50'N</td>
<td>58°12'W</td></tr>
 
<tr><td>Haiti</td>
<td>Port-au-Prince</td>
<td>18°40'N</td>
<td>72°20'W</td></tr>
 
<tr><td>Heard Island and McDonald Islands</td>
<td>&nbsp;</td>
<td>53°00'S</td>
<td>74°00'E</td></tr>
 
<tr><td>Honduras</td>
<td>Tegucigalpa</td>
<td>14°05'N</td>
<td>87°14'W</td></tr>
 
<tr><td>Hungary</td>
<td>Budapest</td>
<td>47°29'N</td>
<td>19°05'E</td></tr>
 
<tr><td>Iceland</td>
<td>Reykjavik</td>
<td>64°10'N</td>
<td>21°57'W</td></tr>
 
<tr><td>India</td>
<td>New Delhi</td>
<td>28°37'N</td>
<td>77°13'E</td></tr>
 
<tr><td>Indonesia</td>
<td>Jakarta</td>
<td>06°09'S</td>
<td>106°49'E</td></tr>
 
<tr><td>Iran (Islamic Republic of)</td>
<td>Tehran</td>
<td>35°44'N</td>
<td>51°30'E</td></tr>
 
<tr><td>Iraq</td>
<td>Baghdad</td>
<td>33°20'N</td>
<td>44°30'E</td></tr>
 
<tr><td>Ireland</td>
<td>Dublin</td>
<td>53°21'N</td>
<td>06°15'W</td></tr>
 
<tr><td>Israel</td>
<td>Jerusalem</td>
<td>31°47'N</td>
<td>35°12'E</td></tr>
 
<tr><td>Italy</td>
<td>Rome</td>
<td>41°54'N</td>
<td>12°29'E</td></tr>
 
<tr><td>Jamaica</td>
<td>Kingston</td>
<td>18°00'N</td>
<td>76°50'W</td></tr>
 
<tr><td>Jordan</td>
<td>Amman</td>
<td>31°57'N</td>
<td>35°52'E</td></tr>
 
<tr><td>Kazakhstan</td>
<td>Astana</td>
<td>51°10'N</td>
<td>71°30'E</td></tr>
 
<tr><td>Kenya</td>
<td>Nairobi</td>
<td>01°17'S</td>
<td>36°48'E</td></tr>
 
<tr><td>Kiribati</td>
<td>Tarawa</td>
<td>01°30'N</td>
<td>173°00'E</td></tr>
 
<tr><td>Kuwait</td>
<td>Kuwait</td>
<td>29°30'N</td>
<td>48°00'E</td></tr>
 
<tr><td>Kyrgyzstan</td>
<td>Bishkek</td>
<td>42°54'N</td>
<td>74°46'E</td></tr>
 
<tr><td>Lao People's  Democratic Republic</td>
<td>Vientiane</td>
<td>17°58'N</td>
<td>102°36'E</td></tr>
 
<tr><td>Latvia</td>
<td>Riga</td>
<td>56°53'N</td>
<td>24°08'E</td></tr>
 
<tr><td>Lebanon</td>
<td>Beirut</td>
<td>33°53'N</td>
<td>35°31'E</td></tr>
 
<tr><td>Lesotho</td>
<td>Maseru</td>
<td>29°18'S</td>
<td>27°30'E</td></tr>
 
<tr><td>Liberia</td>
<td>Monrovia</td>
<td>06°18'N</td>
<td>10°47'W</td></tr>
 
<tr><td>Libyan Arab Jamahiriya</td>
<td>Tripoli</td>
<td>32°49'N</td>
<td>13°07'E</td></tr>
 
<tr><td>Liechtenstein</td>
<td>Vaduz</td>
<td>47°08'N</td>
<td>09°31'E</td></tr>
 
<tr><td>Lithuania</td>
<td>Vilnius</td>
<td>54°38'N</td>
<td>25°19'E</td></tr>
 
<tr><td>Luxembourg</td>
<td>Luxembourg</td>
<td>49°37'N</td>
<td>06°09'E</td></tr>
 
<tr><td>Macao, China</td>
<td>Macau</td>
<td>22°12'N</td>
<td>113°33'E</td></tr>
 
<tr><td>Madagascar</td>
<td>Antananarivo</td>
<td>18°55'S</td>
<td>47°31'E</td></tr>
 
<tr><td>Malawi</td>
<td>Lilongwe</td>
<td>14°00'S</td>
<td>33°48'E</td></tr>
 
<tr><td>Malaysia</td>
<td>Kuala Lumpur</td>
<td>03°09'N</td>
<td>101°41'E</td></tr>
 
<tr><td>Maldives</td>
<td>Male</td>
<td>04°00'N</td>
<td>73°28'E</td></tr>
 
<tr><td>Mali</td>
<td>Bamako</td>
<td>12°34'N</td>
<td>07°55'W</td></tr>
 
<tr><td>Malta</td>
<td>Valletta</td>
<td>35°54'N</td>
<td>14°31'E</td></tr>
 
<tr><td>Martinique</td>
<td>Fort-de-France</td>
<td>14°36'N</td>
<td>61°02'W</td></tr>
 
<tr><td>Mauritania</td>
<td>Nouakchott</td>
<td>20°10'S</td>
<td>57°30'E</td></tr>
 
<tr><td>Mayotte</td>
<td>Mamoudzou</td>
<td>12°48'S</td>
<td>45°14'E</td></tr>
 
<tr><td>Mexico</td>
<td>Mexico</td>
<td>19°20'N</td>
<td>99°10'W</td></tr>
 
<tr><td>Micronesia (Federated States of)</td>
<td>Palikir</td>
<td>06°55'N</td>
<td>158°09'E</td></tr>
 
<tr><td>Moldova, Republic of</td>
<td>Chisinau</td>
<td>47°02'N</td>
<td>28°50'E</td></tr>
 
<tr><td>Mozambique</td>
<td>Maputo</td>
<td>25°58'S</td>
<td>32°32'E</td></tr>
 
<tr><td>Myanmar</td>
<td>Yangon</td>
<td>16°45'N</td>
<td>96°20'E</td></tr>
 
<tr><td>Namibia</td>
<td>Windhoek</td>
<td>22°35'S</td>
<td>17°04'E</td></tr>
 
<tr><td>Nepal</td>
<td>Kathmandu</td>
<td>27°45'N</td>
<td>85°20'E</td></tr>
 
<tr><td>Netherlands</td>
<td>Amsterdam/The Hague (seat of Gvnt)</td>
<td>52°23'N</td>
<td>04°54'E</td></tr>
 
<tr><td>Netherlands Antilles</td>
<td>Willemstad</td>
<td>12°05'N</td>
<td>69°00'W</td></tr>
 
<tr><td>New Caledonia</td>
<td>Noumea</td>
<td>22°17'S</td>
<td>166°30'E</td></tr>
 
<tr><td>New Zealand</td>
<td>Wellington</td>
<td>41°19'S</td>
<td>174°46'E</td></tr>
 
<tr><td>Nicaragua</td>
<td>Managua</td>
<td>12°06'N</td>
<td>86°20'W</td></tr>
 
<tr><td>Niger</td>
<td>Niamey</td>
<td>13°27'N</td>
<td>02°06'E</td></tr>
 
<tr><td>Nigeria</td>
<td>Abuja</td>
<td>09°05'N</td>
<td>07°32'E</td></tr>
 
<tr><td>Norfolk Island</td>
<td>Kingston</td>
<td>45°20'S</td>
<td>168°43'E</td></tr>
 
<tr><td>Northern Mariana Islands</td>
<td>Saipan</td>
<td>15°12'N</td>
<td>145°45'E</td></tr>
 
<tr><td>Norway</td>
<td>Oslo</td>
<td>59°55'N</td>
<td>10°45'E</td></tr>
 
<tr><td>Oman</td>
<td>Masqat</td>
<td>23°37'N</td>
<td>58°36'E</td></tr>
 
<tr><td>Pakistan</td>
<td>Islamabad</td>
<td>33°40'N</td>
<td>73°10'E</td></tr>
 
<tr><td>Palau</td>
<td>Koror</td>
<td>07°20'N</td>
<td>134°28'E</td></tr>
 
<tr><td>Panama</td>
<td>Panama</td>
<td>09°00'N</td>
<td>79°25'W</td></tr>
 
<tr><td>Papua New Guinea</td>
<td>Port Moresby</td>
<td>09°24'S</td>
<td>147°08'E</td></tr>
 
<tr><td>Paraguay</td>
<td>Asuncion</td>
<td>25°10'S</td>
<td>57°30'W</td></tr>
 
<tr><td>Peru</td>
<td>Lima</td>
<td>12°00'S</td>
<td>77°00'W</td></tr>
 
<tr><td>Philippines</td>
<td>Manila</td>
<td>14°40'N</td>
<td>121°03'E</td></tr>
 
<tr><td>Poland</td>
<td>Warsaw</td>
<td>52°13'N</td>
<td>21°00'E</td></tr>
 
<tr><td>Portugal</td>
<td>Lisbon</td>
<td>38°42'N</td>
<td>09°10'W</td></tr>
 
<tr><td>Puerto Rico</td>
<td>San Juan</td>
<td>18°28'N</td>
<td>66°07'W</td></tr>
 
<tr><td>Qatar</td>
<td>Doha</td>
<td>25°15'N</td>
<td>51°35'E</td></tr>
 
<tr><td>Republic of  Korea</td>
<td>Seoul</td>
<td>37°31'N</td>
<td>126°58'E</td></tr>
 
<tr><td>Romania</td>
<td>Bucuresti</td>
<td>44°27'N</td>
<td>26°10'E</td></tr>
 
<tr><td>Russian Federation</td>
<td>Moskva</td>
<td>55°45'N</td>
<td>37°35'E</td></tr>
 
<tr><td>Rawanda</td>
<td>Kigali</td>
<td>01°59'S</td>
<td>30°04'E</td></tr>
 
<tr><td>Saint Kitts and Nevis</td>
<td>Basseterre</td>
<td>17°17'N</td>
<td>62°43'W</td></tr>
 
<tr><td>Saint Lucia</td>
<td>Castries</td>
<td>14°02'N</td>
<td>60°58'W</td></tr>
 
<tr><td>Saint Pierre and Miquelon</td>
<td>Saint-Pierre</td>
<td>46°46'N</td>
<td>56°12'W</td></tr>
 
<tr><td>Saint vincent and the Grenadines</td>
<td>Kingstown</td>
<td>13°10'N</td>
<td>61°10'W</td></tr>
 
<tr><td>Samoa</td>
<td>Apia</td>
<td>13°50'S</td>
<td>171°50'W</td></tr>
 
<tr><td>San Marino</td>
<td>San Marino</td>
<td>43°55'N</td>
<td>12°30'E</td></tr>
 
<tr><td>Sao Tome and Principe</td>
<td>Sao Tome</td>
<td>00°10'N</td>
<td>06°39'E</td></tr>
 
<tr><td>Saudi Arabia</td>
<td>Riyadh</td>
<td>24°41'N</td>
<td>46°42'E</td></tr>
 
<tr><td>Senegal</td>
<td>Dakar</td>
<td>14°34'N</td>
<td>17°29'W</td></tr>
 
<tr><td>Sierra Leone</td>
<td>Freetown</td>
<td>08°30'N</td>
<td>13°17'W</td></tr>
 
<tr><td>Slovakia</td>
<td>Bratislava</td>
<td>48°10'N</td>
<td>17°07'E</td></tr>
 
<tr><td>Slovenia</td>
<td>Ljubljana</td>
<td>46°04'N</td>
<td>14°33'E</td></tr>
 
<tr><td>Solomon Islands</td>
<td>Honiara</td>
<td>09°27'S</td>
<td>159°57'E</td></tr>
 
<tr><td>Somalia</td>
<td>Mogadishu</td>
<td>02°02'N</td>
<td>45°25'E</td></tr>
 
<tr><td>South Africa</td>
<td>Pretoria (adm.) / Cap Town (Legislative) / Bloemfontein (Judicial)</td>
<td>25°44'S</td>
<td>28°12'E</td></tr>
 
<tr><td>Spain</td>
<td>Madrid</td>
<td>40°25'N</td>
<td>03°45'W</td></tr>
 
<tr><td>Sudan</td>
<td>Khartoum</td>
<td>15°31'N</td>
<td>32°35'E</td></tr>
 
<tr><td>Suriname</td>
<td>Paramaribo</td>
<td>05°50'N</td>
<td>55°10'W</td></tr>
 
<tr><td>Swaziland</td>
<td>Mbabane (Adm.)</td>
<td>26°18'S</td>
<td>31°06'E</td></tr>
 
<tr><td>Sweden</td>
<td>Stockholm</td>
<td>59°20'N</td>
<td>18°03'E</td></tr>
 
<tr><td>Switzerland</td>
<td>Bern</td>
<td>46°57'N</td>
<td>07°28'E</td></tr>
 
<tr><td>Syrian Arab Republic</td>
<td>Damascus</td>
<td>33°30'N</td>
<td>36°18'E</td></tr>
 
<tr><td>Tajikistan</td>
<td>Dushanbe</td>
<td>38°33'N</td>
<td>68°48'E</td></tr>
 
<tr><td>Thailand</td>
<td>Bangkok</td>
<td>13°45'N</td>
<td>100°35'E</td></tr>
 
<tr><td>The Former Yugoslav Republic of Macedonia</td>
<td>Skopje</td>
<td>42°01'N</td>
<td>21°26'E</td></tr>
 
<tr><td>Togo</td>
<td>Lome</td>
<td>06°09'N</td>
<td>01°20'E</td></tr>
 
<tr><td>Tonga</td>
<td>Nuku'alofa</td>
<td>21°10'S</td>
<td>174°00'W</td></tr>
 
<tr><td>Tunisia</td>
<td>Tunis</td>
<td>36°50'N</td>
<td>10°11'E</td></tr>
 
<tr><td>Turkey</td>
<td>Ankara</td>
<td>39°57'N</td>
<td>32°54'E</td></tr>
 
<tr><td>Turkmenistan</td>
<td>Ashgabat</td>
<td>38°00'N</td>
<td>57°50'E</td></tr>
 
<tr><td>Tuvalu</td>
<td>Funafuti</td>
<td>08°31'S</td>
<td>179°13'E</td></tr>
 
<tr><td>Uganda</td>
<td>Kampala</td>
<td>00°20'N</td>
<td>32°30'E</td></tr>
 
<tr><td>Ukraine</td>
<td>Kiev (Rus)</td>
<td>50°30'N</td>
<td>30°28'E</td></tr>
 
<tr><td>United Arab Emirates</td>
<td>Abu Dhabi</td>
<td>24°28'N</td>
<td>54°22'E</td></tr>
 
<tr><td>United Kingdom of Great Britain and Northern Ireland</td>
<td>London</td>
<td>51°36'N</td>
<td>00°05'W</td></tr>
 
<tr><td>United  Republic of Tanzania</td>
<td>Dodoma</td>
<td>06°08'S</td>
<td>35°45'E</td></tr>
 
<tr><td>United States
  of America</td>
<td>Washington DC</td>
<td>39°91'N</td>
<td>77°02'W</td></tr>
 
<tr><td>United States
  of Virgin Islands</td>
<td>Charlotte Amalie</td>
<td>18°21'N</td>
<td>64°56'W</td></tr>
 
<tr><td>Uruguay</td>
<td>Montevideo</td>
<td>34°50'S</td>
<td>56°11'W</td></tr>
 
<tr><td>Uzbekistan</td>
<td>Tashkent</td>
<td>41°20'N</td>
<td>69°10'E</td></tr>
 
<tr><td>Vanuatu</td>
<td>Port-Vila</td>
<td>17°45'S</td>
<td>168°18'E</td></tr>
 
<tr><td>Venezuela</td>
<td>Caracas</td>
<td>10°30'N</td>
<td>66°55'W</td></tr>
 
<tr><td>Viet Nam</td>
<td>Hanoi</td>
<td>21°05'N</td>
<td>105°55'E</td></tr>
 
<tr><td>Yugoslavia</td>
<td>Belgrade</td>
<td>44°50'N</td>
<td>20°37'E</td></tr>
 
<tr><td>Zambia</td>
<td>Lusaka</td>
<td>15°28'S</td>
<td>28°16'E</td></tr>
 
<tr><td>Zimbabwe</td>
<td>Harare</td>
<td>17°43'S</td>
<td>31°02'E</td>
</tr>
 
</tbody>
</table>
    </form>
</body>
</html>
